
export function getTranslate(text: string){
    return fetch(`http://127.0.0.1:8000/ollama`, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json;charset=UTF-8'
        },
        body: JSON.stringify({
            text: text,
        })
    });
}